<form class="layui-form">
    {:form_input('oldpassword','password',['lable'=>'oldpassword','verify'=>'required|pass'])}
    {:form_input('password','password',['lable'=>'NewPasswd','verify'=>'required|pass'])}
    {if input('type')}
    {:form_submitbtn(true,['show'=>1])}
    {else/}
    {:form_submitbtn()}
    {/if}
</form>